package template.Shopping;


import java.util.HashMap;
import java.util.Map;

public class GoShopping {

    private Ordinaryer ordinaryer ;

    Map<String,String> Shopping (Shopping shopping, Girl girl){

         if(shopping==null){
             shopping = ordinaryer ;
         }
         Map<String,String> map = new HashMap<String, String>();
         shopping.makeup(girl);
         //出门
         shopping.goOut(girl);
         //逛商场
         shopping.goToTheShoppingMall(girl);
         //试衣服
         shopping. tryOnClothes(girl);
         //买     价格,品牌/款式/尺码
         map=shopping.buy(girl);
         //吃小吃
         shopping. eatSnack(girl);
         //回家
         shopping. goHome(girl);
         return map;
     }

    public static void main(String[] args) {
        Ordinaryer o= new Ordinaryer();
        Girl girl = new Girl();
        GoShopping g = new GoShopping();
        g.Shopping(o,girl);


    }
}
